Description
Currently,
Both APIs below:
spark.read.schema(StructType(Nil)).jdbc(...)
and
spark.read.schema(StructType(Nil)).table("usrdb.test")
ignore schemas.
It'd make sense to throw an exception rather than causing confusion to users.
Attachments
Issue Links
- relates to
-
SPARK-16054 Verification of DataFrameReader API Usage
- Resolved
- links to